package com.zxl.composite;

public abstract class Component {
	
	protected String nameString;
	
	public Component(String nameString){
		this.nameString = nameString;
	}
	
	public abstract void add(Component component);
	public abstract void remove(Component component);
	public abstract void display(int depth);
	
}
